package com.iterator.bean.wechat.order;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author : L
 * @ProjectName : project-2
 * @Date : 1/13/2021
 * @Description : 多个静态常量使用枚举类表示
 */
@Getter
@AllArgsConstructor
public enum OrderStatusEnum {
    UN_PAID(101,"未付款"),
    USER_CANCELED(102, "用户取消"),
    SYSTEM_CANCELED(103, "系统取消"),
    PAID(201, "已付款"),
    REFUND_REQUESTED(202, "申请退款"),
    REFUNDED(203, "已退款"),
    SHIPPED(301, "已发货"),
    USER_RECEIPTED(401, "用户收货"),
    SYSTEM_RECEIPTED(402, "系统收货");

    private final Integer statusCode;
    private final String statusText;
}
